package designPattern.builder建造者模式.demo01;

// 具体的建造者
public class ConcreteBuilder2 extends Builder {

    @Override
    void buildA() {
        product.setA("A2");
        System.out.println("A2");
    }

    @Override
    void buildB() {
        product.setB("B2");
        System.out.println("B2");
    }

    @Override
    void buildC() {
        product.setC("C2");
        System.out.println("C2");
    }
}
